package edu.sandau.b230151.b23015128.repository;

import edu.sandau.b230151.b23015128.model.Goods;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface GoodsRepository extends JpaRepository<Goods,String> {
    List<Goods> findByNameAndPrice(String name, Float price);
    List<Goods> findBynameAndPrice(String name, Float price);

    List<Goods> findByName(String name);


}

